import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('@/views/Layout/index.vue'),
      meta: { title: '首页' }
    },
    {
      path: '/Partymembers',
      component: () => import('@/views/Partymembers/index.vue'),
      meta: { title: '详情页' }
    }
    // {
    //   path: '/Index',
    //   component: () => import('@/views/TuoLz/index.vue'),
    //   meta: { title: '托表格' }
    // }
  ]
})

export default router
